import request from '@/utils/request';

// 当前用户所有岗位下拉选
export const getPersonPost = () => {
  return request({
    url: `/userApp/user/person/post`,
    method: 'get',
  })
}

// 上传图片or文件
export const uploadImg = (params) => {
	return request({
		url: '/nxcloud-resource/res/upload',
		method: 'post',
		data: params,
		headers: {'Content-Type': 'multipart/form-data'}
	})
}